<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="../common.inc" %>    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link href="./css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" language="javascript">
<!--
	function back(){
		var customerId = "<c:out value='${customerId}'/>";
		var sign = "<c:out value='${sign}'/>";
		window.location.href = "./customerManage.do?action=customerDetail&customerId="+customerId+"&sign="+sign;
		window.location.target = "main";
	}
	
-->
</script>
</head>
<body>
	<a class="common_title">>> 您现在的位置：客户管理 >> 销售信息</a>
	
	<div class="tools">
		<a class="back" href="javascript:back();" title="返回" hidefocus="true">返回</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	</div>

<table class="table1">
	<tr>
		<td>
			<table class="table_input" cellpadding="0" cellspacing="0" style="margin: 0 0 0 50px;">
				<tr>
					<td colspan="4" class="view_title1">${customer.customerName}</td>
				</tr>
				<tr>
					<td width="15%">客户编号：</td>
					<td>${customer.customerCode}</td>
				</tr>
				<tr>
					<td>销售代表：</td>
					<td>${customer.salePerson}</td>
				</tr>
				<tr>
					<td>销售阶段：</td>
					<td>${customer.saleStage}</td>
				</tr>
				<tr>
					<td>建档时间：</td>
					<td><fmt:formatDate value="${customer.createDate}" pattern="yyyy-MM-dd"/></td>
				</tr>
				<tr>
					<td colspan="2"></td>
				</tr>
				<tr>
					<td>历史成交金额：</td>
					<td>${customer.historyContractCost}元</td>
				</tr>
				<tr>
					<td>销售合同数量：</td>
					<td>${customer.contractNum}个</td>
				</tr>
				<tr>
					<td>应收帐款：</td>
					<td>${customer.receivable}元</td>
				</tr>
				<tr>
					<td>开票金额：</td>
					<td>${customer.invoiceCost}元</td>
				</tr>
				<tr>
					<td>费用支出：</td>
					<td>${customer.saleCost}元</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
</body>
</html>